About to move some methods to a new Tree class.