Added toMap to EquaSet and SortedEquaSet.