Remove unnecessary accessor functions for tree