Make PluginManager package protected and don't expose it