We need to make our classgroup function a drop in replacement for the original one from: https://magma.maths.usyd.edu.au/magma/handbook/text/514#5800 I.e. the signature: https://github.com/nt-lib/CurveArith/blob/612fcf72bcd1a51cc7f68f90e9d1c8e013d8da20/src/classgroup.m#L423 Should become ``` ClassGroup(F : parameters) : FldFun -> GrpAb, Map, Map ```