Added getEntityTree() function.