Added support for validations in associated models