Simple extension to manipulate tree objects
