Fix deprecated config.