Changed toSeq in EquaSet and SortedEquaSet to return Seq[T].