More efficient to iterate over the `entrySet()`.