Fix type signature to work without -XRelaxedPolyRec, and hence earlier GHCs