anchor.diff:  %% undecoded. Note that the type field is 'undefined' in this case.
   
   decode_AVP(Name, Avp, Opts, Mod, Acc) ->
  -    {trim(Avp), pack_AVP(Name, Avp, Opts, Mod, Acc)}.
  +    decode_AVP(Name, Mod:avp_arity(Name, 'AVP'), Avp, Opts, Mod, Acc).
  +
  +%% decode_AVP/6
  +
  +decode_AVP(Name, Arity, Avp, Opts, Mod, Acc) ->
  +    {trim(Avp), pack_AVP(Name, Arity, Avp, Opts, Mod, Acc)}.
   
   %% rc/2
   
  
positive.code: mapfoldl(_, Acc, [], List) ->
      {List, Acc}.
  
  %% missing/4
  
  %% 3588:
  %%
  %%   DIAMETER_MISSING_AVP               5005
  %%      The request did not contain an AVP that is required by the Command
  
negative.code: rc(_, Avp, _, _) ->
      {5004, Avp}.
  
  %% pack_avp/6
  
  pack_avp(Name, 0, Avp, Opts, Mod, Acc) ->
  