Tweak @name in generated methods