Properly send plugin_type