#66: Renamed foreach methods that had effects as parameters to foreachDoEffect