Re-introduce forEach with index.