Add polymorphic relationship.