Removed redundant methods for working with trees