Added `env` to node global so that it can be shared.