Add basic parse tree traversal.