Depends on foreach, but not doMC, so that Windows users may still use this package.