Oversimplified tree walker.