PluginInfo::type added to copy constructor. But why is the copy constructor defined...