Changed TreeTool to use a TreeDescriptor.