Collection: openedObjects should be private
Should be properly encapsulated and accessed through semantically-consistent methods.
Would allow to include more information in the map, replacing Pair
values with a well-defined object (say, OpenedObjectState).
Edited by Yannick Li