Reduce use of env vars.