Added canEqual method to EquiSet.