Add scopes to model