anchor.diff:              _ ->
                   [[
   "                {error, Error} ->\n"
  -"                    piqi_rpc_runtime:encode_error(?MODULE, fun ", ErlMod, ":gen_", ErlName, "_error/1, <<\"", ScopedName, "-error\">>, _OutputFormat, Error, Options)"
  +"                    piqi_rpc_runtime:encode_error(?MODULE, fun ", ErlMod, ":gen_", ErlTypeName, "_error/1, <<\"", ScopedName, "-error\">>, _OutputFormat, Error, Options)"
                   ]]
           end,
   
  
positive.code:     Output =
          case F#func.output of
              'undefined' -> "ok";
              _ -> [ "{ok, ", ErlMod, ":default_", ErlName, "_output()}" ]
          end,
  
      [ ErlName, "(", Input, ") -> ", Output, ".\n\n" ].
  
negative.code:                 ];
              _ ->
                  [
  "            Input = piqi_rpc_runtime:decode_input(?MODULE, fun ", ErlMod, ":parse_", ErlTypeName, "_input/1, <<\"", ScopedName, "-input\">>, _InputFormat, InputData, Options),\n"
  "            case piqi_rpc_runtime:call(Mod, ", ErlName, ", Input) of\n"
                  ]
          end,
  