Does `env` have to be passed in?  Would it be more efficient to require it here?