More fixing for lack of Array.prototype.forEach.