Fix Metrics import.