Move validations to model