Make EquiSet to extend Function1 and removed the andThen method.