Moving validation rules to a model method so they can be easily overridden