Adding scopes for groups