Shim forEach.