We could remove more boilerplate by using the reference to `env` directly instead of assigning properties to local variables.