Adding forEach shim.
Adding reduce