Tightened up unit tests and our new extensibility points: Entity, EntityCollection, and Resource