pluginRegistry

Returns the existing plugin registry or registers and returns a new one.