Added the ability to define scopes to be used in the query helper