New interface for metrics