Use forEach where possible.
Merge pull request #244 from csmith/master

Use forEach where possible.