Add validations to the models objects.