anchor.diff:  process_message(#rpbdelreq{bucket=B, key=K, rw=RW0}, 
                   #state{client=C} = State) ->
       RW = normalize_rw_value(RW0),
  -    case C:delete(B, K, default_rw(RW)) of
  +    case C:delete(B, K, default_if_undef(RW)) of
           ok ->
               send_msg(rpbdelresp, State);
           {error, notfound} ->  %% delete succeeds if already deleted
  
positive.code:                                  server_version = get_riak_version()},
      send_msg(Resp, State);
  
  process_message(#rpbgetreq{bucket=B, key=K, r=R0}, 
                  #state{client=C} = State) ->
      R = normalize_rw_value(R0),
      case C:get(B, K, default_r(R)) of
          {ok, O} ->
              PbContent = riakc_pb:pbify_rpbcontents(riak_object:get_contents(O), []),
              GetResp = #rpbgetresp{content = PbContent,
  
negative.code: 
  %% Set default values in the options record if none are provided.
  %% Erlang protobuffs does not support default, so have to do it here.
  
  default_if_undef(undefined) ->
      default;
  default_if_undef(V) ->
      V.
  
  default_timeout() ->
      60000.
  
  %% Convert a vector clock to erlang
  erlify_rpbvc(undefined) ->
      vclock:fresh();
  