IdentifiedObjectSet needs to be thread-safe.