Generalize the definition of a scope