Moved applyThroughIteration to Collections.