Added scopes for task model