Add some validations to the model