anchor.diff:  -spec update_content_type(#riakc_obj{}, metadata()) -> #riakc_obj{}.
   update_content_type(Object=#riakc_obj{}, CT) ->
       M1 = get_update_metadata(Object),
  -    Object#riakc_obj{updatemetadata=dict:store(?MD_CTYPE, to_binary(CT), M1)}.
  +    Object#riakc_obj{updatemetadata=dict:store(?MD_CTYPE, riakc_pb:to_binary(CT), M1)}.
   
   %% @doc  Set the updated value of an object to V
   -spec update_value(#riakc_obj{}, value()) -> #riakc_obj{}.
  
positive.code: %% @doc  Return the updated metadata of this riakc_obj.
  -spec get_update_metadata(#riakc_obj{}) -> metadata().
  get_update_metadata(#riakc_obj{updatemetadata=UM}) -> 
      case UM of 
          undefined ->
              dict:new();
          UM ->
              UM
      end.
             
  
  %% @doc  Return the updated value of this riakc_obj.
  -spec get_update_value(#riakc_obj{}) -> value().
  get_update_value(#riakc_obj{updatevalue=UV}) -> UV.
  
  
  %% @private
  %% Make sure an atom/string/binary is definitely a binary
  to_binary(A) when is_atom(A) ->
      list_to_binary(atom_to_list(A));
  to_binary(L) when is_list(L) ->
      list_to_binary(L);
  to_binary(B) when is_binary(B) ->
      B.
  
negative.code:          get_update_metadata/1,
           get_update_value/1]).
  -include("riakc_obj.hrl").
  -ifdef(TEST).
  -include_lib("eunit/include/eunit.hrl").
  -endif.
  
  -type bucket() :: binary().
  -type key() :: binary().
  