Improve and document the environment variable pass-through.