Exchanged global shared-instances map for per-class slot.