Model validations.