tree: remove helper from global namesspace