anchor.diff:      ok.
   
   dispatch(MochiReq, AppPath, Config, DocId, AppName, StaticFiles, Templates) ->
  -    RawUri = MochiReq:get(raw_path),
  +    RawUri = mochiweb_request:get(raw_path, MochiReq),
       {"/" ++ Path, _, _} = mochiweb_util:urlsplit_path(RawUri),
       PathParts = [mochiweb_util:unquote(Part) || Part <-
           string:tokens(Path, "/")],
   
       Req = #httpd{
           mochi_req = MochiReq,
  -        method = MochiReq:get(method),
  +        method = mochiweb_request:get(method, MochiReq),
           path = Path,
           path_parts = PathParts,
           doc_id = DocId,
  
positive.code:                     Rendered
              end,
              ContentType = mochiweb_util:guess_mime(Name),
              MochiReq:ok({ContentType, [], Bin1});
          _ ->
              MochiReq:not_found()
      end.
  
  serve_file(#httpd{mochi_req=MochiReq, static_files=Files}, Name) ->
  
negative.code: 
  json_respond(MochiReq, Status, ExtraHeaders, JsonObj) ->
      Headers = [{"Content-Type", "application/json"}] ++ ExtraHeaders,
      mochiweb_request:respond({Status, Headers,
                                couchbeam_ejson:encode(JsonObj)}, MochiReq).
  
  
  json_error(MochiReq, Status, Error) when is_list(Error) ->
  