Add some basic docs
Override normalizeRelationships to extract polymorphic type correctly
Merge pull request #1287 from bradleypriest/ams

AMS basic docs and polymorphic extraction