Fixed runtime error in PluginDescriptor