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

Use forEach where possible.