Generalise error messages to refer to "class(x)" rather than "GTuples".