Config refactor.