Reverted to `Array.protype.foreach` loops.