Added NodeCollection::reduce()