Add support for abstract polymorphic relationships