It would be nice if the `gfromRow` and `gtoRow` functions were exported so we could build our own generic instances from them.