Tree API extensions