It needs synchronization because externalizer fails with ConcurrentModificationException otherwise.