Validations and has_many added to models