Removed some redundant tree functionality