anchor.diff:               [{atom, 1, vmq_plugin_helper},
                 {atom, 1, all_till_ok},
                 {cons, 1,
  -               list_const(false, [Hook|Hooks]),
  +               list_const(false, embed_hooks([Hook|Hooks])),
                  {cons, 1,
                   {var, 1, 'Params'},
                   {nil, 1}}}]
  
positive.code:                    atom(),
                     atom(),
                     non_neg_integer()}.
  
  %%%===================================================================
  %%% API
  
negative.code:        {atom, 1, Fun},
         {integer, 1, Arity}]
       }, list_const(true, Rest)}.
  
  -spec embed_hooks([hook()]) -> [raw_hook()].
  embed_hooks(Hooks) ->
      lists:map(
        fun(#hook{name = N, module = M,
                  function = F, arity = A}) ->
                {N, M, F, A}
        end, Hooks).
  
  -ifdef(TEST).
  %%%===================================================================
  