Implemented DeepTreeWalker.