Add validation and association.