Added fold method to EquaSets.