Extract some logic to the configuration instance.