Use ObjectType in TreeEntry
Merge pull request #18 from Merovius/objecttype

Use ObjectType in TreeEntry