Changed semantics for put and remove on avl_tree