Add shallow TreeWalker.