Moved AVL trees from PE to KP.