Replaced env-magic with config option.