anchor.diff:      }
     }
   
  -  void _writeMixins(StringSink sink) {
  -    sink.writeln("""
  -  //
  -  // Resources
  -  //
  -""");
  -    if (_json.containsKey("resources")) {
  -      _json["resources"].forEach((key, resource) {
  -        var subClassName = "${capitalize(key)}Resource_";
  -        sink.writeln("  $subClassName get $key => new $subClassName(this);");
  -      });
  -    }
  -    sink.writeln();
  -
  -    sink.writeln("""
  -  //
  -  // Parameters
  -  //""");
  -    if (_json.containsKey("parameters")) {
  -      _json["parameters"].forEach((key, param) {
  -        var type = parameterType[param["type"]];
  -        if (param.containsKey("format")) {
  -          if (param["type"] == "string" && param["format"] == "int64") {
  -            type = "core.int";
  -          }
  -        }
  -        if (type != null) {
  -          sink.write("\n");
  -          sink.write("  /**\n");
  -          if (param.containsKey("description")) {
  -            sink.write("   * ${param["description"]}\n");
  -          }
  -          sink.write("   * Added as queryParameter for each request.\n");
  -          sink.write("   */\n");
  -          sink.write("  $type get $key => params[\"$key\"];\n");
  -          sink.write("  set $key($type value) => params[\"$key\"] = value;\n");
  -        }
  -      });
  -    }
  -  }
  -
     void _writeScopes(StringSink sink) {
       if(_json.containsKey("auth") && _json["auth"].containsKey("oauth2") && _json["auth"]["oauth2"].containsKey("scopes")) {
         _json["auth"]["oauth2"]["scopes"].forEach((scope, description) {
  
positive.code:     sink.writeln();
      sink.writeln("  ${capitalize(_name)}([oauth.OAuth2 this.auth]);");
  
      if (_json.containsKey("methods")) {
        _json["methods"].forEach((key, method) {
          sink.write("\n");
          _writeMethod(sink, key, method, true);
        });
      }
  
      sink.write("}\n");
    }
  
  
negative.code:     sink.writeln('  final oauth2.OAuth2Console auth;');
      sink.writeln();
      sink.writeln("  ${capitalize(_name)}([oauth2.OAuth2Console this.auth]);");
  
      sink.write("}\n");
    }
  