anchor.diff:              end,
               Msec = LastMod div 1000000,
               Sec = LastMod rem 1000000,
  -            ErlMd6 = dict:store(?MD_LASTMOD, {Msec,Sec,Usec}, ErlMd5)
  +            ErlMd6 = orddict:store(?MD_LASTMOD, {Msec,Sec,Usec}, ErlMd5)
       end,
       case PbC#rpbcontent.usermeta of
           undefined ->
               ErlMd = ErlMd6;
           PbUserMeta ->
               UserMeta = [erlify_rpbpair(E) || E <- PbUserMeta],
  -            ErlMd = dict:store(?MD_USERMETA, UserMeta, ErlMd6)
  -    end,
  -
  -    {ErlMd, PbC#rpbcontent.value}.
  +            ErlMd = orddict:store(?MD_USERMETA, UserMeta, ErlMd6)
  +    end,
  +
  +    {dict:from_list(orddict:to_list(ErlMd)), PbC#rpbcontent.value}.
       
   
   %% Convert {K,V} tuple to protocol buffers
  
positive.code:                                           riakclient_pb:decode_rpbcontent(
                                              riakclient_pb:encode_rpbcontent(
                                                pbify_rpbcontent({MetaData, Value})))),
                    MdSame = (dict:to_list(MetaData) =:= dict:to_list(MetaData2)),
                    MdSame = true,
                    Value = Value2
                end)}
  
negative.code: 
  %% Make sure an atom/string/binary is definitely a binary
  to_binary(A) when is_atom(A) ->
      atom_to_binary(A, latin1);
  to_binary(L) when is_list(L) ->
      list_to_binary(L);
  to_binary(B) when is_binary(B) ->
  