anchor.diff:      try
           Code = wrq:response_code(Req),
           PerfTuples = stats_hero:snapshot(ReqId, agg),
  -        Req0 = add_notes([{reqid, ReqId},
  -                            {perf_stats, PerfTuples}], Req),
  +        Req0 = oc_wm_request:add_notes([{reqid, ReqId},
  +                                        {perf_stats, PerfTuples}], Req),
           AnnotatedReq = maybe_annotate_org_specific(OrgName, Darklaunch, Req0),
           stats_hero:report_metrics(ReqId, Code),
           stats_hero:stop_worker(ReqId),
  
positive.code:             ok
      end.
  
  %% @doc Helper function to annotate requests for logging
  add_notes([], Req) ->
      Req;
  add_notes([{Key, Value} | Rest], Req) ->
      add_notes(Rest, wrq:add_note(Key, Value, Req)).
  
  fetch_org_guid(#base_state{organization_guid = Id}) when is_binary(Id) ->
      Id;
  fetch_org_guid(#base_state{organization_guid = undefined,
  
negative.code: maybe_annotate_org_specific(OrgName, Darklaunch, Req) ->
      %% Generate the darklaunch header in a form that won't break log parsing
      DLData = chef_wm_darklaunch:get_proplist(Darklaunch),
      oc_wm_request:add_notes([{org_name, OrgName},
                               {darklaunch, DLData}], Req).
  
  %% If request results in a rename, then set Location header and wm will return with a 201.
  %% Currently, only the clients endpoint supports rename
  