Documenting polymorphic relationships