Now accepts either string or user-group as group.