Does it need to be this generic though? I couldn't see any other uses of it so far... I'd prefer a very specific method (eg `setOriginalTypeName`) that we could generalise when other uses come up,