add MetricsMachine-style class flags