persisting the state of the PluginManager