Changed toBuffer in EquaSet and SortedEquaSet to return Buffer[T].