Add avl_insert_opt and avl_delete_noderef.