Make PluginManager lazy loading