Basic ActiveRecord scopes.