Moved shared T-Tree functions into a parent class. Specialization can now be performed with little maintenance.