Changed Table object to Tree object.