Use lodash.forEach() instead of own code.