Add the appropriate `LegacyThrow`