allow relations to be defined on model classes vs collections