Add reduce() for building up a new value from a tree.
Clean up collection of sub results.