Segment printing and tree walking.