Implement methods which are tested by RevTreeTest