Handle entities that have a root set
Merge pull request #5 from coderdan/add_entity_root_support

Handle entities that have a root set