Extracts the non-binary parts of the BinaryTree into a base class, again making it obvious how things are put together.