Simplification: AvlTree::deleteNode uses a hashtable lookup for dispatch instead of the switch statement.