Add validations and scopes to page model