Completely removed the TSDB reference from the Tree class.