I think we're probably better off getting an ``Iterator<String>`` from ``metrics.keySet()`` and using ``Iterator#remove()``.