Cleanups to bar environmental variables.