Threaded, self-balancing binary tree.