Add PluginMetrics support