Replaced a dict emulating a set with a set.