Refactor the way the config is passed to the distribution.