anchor.diff:  
           // Call each global method once.
           for (int i = 0; i < globalMethods.length; i++) {
  -          final outputName = '$methodName$i';
  -          emitTryCatchFinally(() {
  -            globalMethods[i].emitCall(1, includeSemicolon: true);
  -          }, () {
  -            emitPrint('$outputName() throws');
  -          });
  +          String outputName;
  +          emitTryCatchFinally(
  +              () => outputName =
  +                  globalMethods[i].emitCall(1, includeSemicolon: true),
  +              () => emitPrint('$outputName() throws'));
             emitNewline();
           }
   
           // Call each class method once.
           for (int i = 0; i < classMethods.length; i++) {
             for (int j = 0; j < classMethods[i].length; j++) {
  +            String outputName;
               emitNewline();
  -            emitTryCatchFinally(() {
  -              classMethods[i][j].emitCall(1, includeSemicolon: true);
  -            }, () {
  -              emitPrint('X$i().${classMethods[i][j].name}() throws');
  -            });
  +            emitTryCatchFinally(
  +                () => outputName =
  +                    classMethods[i][j].emitCall(1, includeSemicolon: true),
  +                () => emitPrint('${outputName} throws'));
             }
             // Call each virtual class method once.
             int parentClass = classParents[i];
  
positive.code: // Class for extension methods generated by DartFuzz.
  class ExtensionMethod extends Method {
    ExtensionMethod(String name, List<DartType> parameters, DartFuzz fuzzer,
        this.className, this.extensionName)
        : super(name, parameters, fuzzer) {}
  
    @override
    void emitCall(int depth,
        {RhsFilter rhsFilter,
        bool includeSemicolon = false,
        bool extensionApplication = false}) {
      String outputName = name;
      if (fuzzer.currentClass == null) {
        // If we're calling an extension method from outside the class, we can
        // call it using an object of the class or using explicit extension
        // application.
        if (extensionApplication) {
          outputName = "${extensionName}(${className}()).${name}";
        } else {
          outputName = "${className}().${name}";
        }
      }
      fuzzer.emitLn(outputName, newline: false);
  
negative.code:               for (int j = 0;
                    j < virtualClassMethods[i][parentClass].length;
                    j++) {
                  String outputName;
                  emitNewline();
                  emitTryCatchFinally(
                      () => outputName = classMethods[parentClass][j]
                          .emitCall(1, includeSemicolon: true),
                      () => emitPrint('${outputName} throws'));
                }
              }
              parentClass = classParents[parentClass];
  