console: Migrate to PluginPreferences.