anchor.diff:  
   erlify_mapred_phases([], ErlPhases) ->
       {ok, lists:reverse(ErlPhases)};
  -erlify_mapred_phases([#rpbmapredphase{type = <<"link">>, bucket = B, tag = T} | Rest], 
  +erlify_mapred_phases([#rpbmapredphase{type = <<"link">>, keep = PbKeep, 
  +                                      bucket = B, tag = T} | Rest], 
                        ErlPhases) ->
       case {B, T} of
           {undefined, _} ->
  
positive.code: pbify_bucket_prop({chash_keyfun, {Module, Function}}) ->
      {?PB_CHASH, {struct, [{?PB_MOD, to_binary(Module)},
                            {?PB_FUN, to_binary(Function)}]}};
  pbify_bucket_prop({Prop, Value}) ->
      {list_to_binary(atom_to_list(Prop)), Value}.
  
  
negative.code: erlify_mapred_input(#rpbmapredinput{bucket = Bucket, key = Key, data = undefined}) ->
      {Bucket, Key};
  erlify_mapred_input(#rpbmapredinput{bucket = Bucket, key = Key, data = PbData}) ->
      {{Bucket, Key}, erlify_rpbterm(PbData)}.
  
  %% Convert list of RpbMapRedPhase to list of erlang phase tuples
  erlify_mapred_query(PbQuery) ->
  