getEnv moved to base request.