Added type to tree entry object