Are these operations really safe to perform while iterating `byName`? It is a `ConcurrentHashMap` so there would be no `ConcurrentModificationException`, but the above operations performed without holding a lock leave open a possible race condition, it seems.