Move some config from configuration directive to plugin settings.