Add MetricType to detach charts from models.