Specify classes in associations.