Added class for Tree objects