Added default scope and scope for models