TODO: expose this so users can navigate the tree for algorithms like fuzzy string look up.