Removing unnecessary environment variables.