Add some validations around the models.