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:          validate_request/3]).
  
  %% Helpers for webmachine callbacks
  -export([create_from_json/5,
           init/2,
           verify_request_signature/2,
           update_from_json/4]).
  