Initial implementation of PluginRegistry.