Added Metric utility class.