Add some methods to class MetricsSystem