Replaced labels with classes for metrics