Setoidify everything. Integers are defined as an equiv relation on (N x N). Modules are nice\!