Using "foreach" instead of my own shim.