The problem is, in InternalEngine I need that map for the foreach loop; I guess I could add another method to pull the iterator for the map and then make the map private. Really this whole method should be inside the LiveVersionMap, but I can't cleanly do that because we need the dirtyLock() for each uid.