Fix missing imports in PluginManager