Fixed reference to Metrics in the main class