anchor.diff:  
   start_link(Options) ->
       {AppRoot, Options1} = get_option(approot, Options),
  +    Plugins = menelaus_pluggable_ui:find_plugins(),
       Loop = fun (Req) ->
  -                   ?MODULE:loop(Req, AppRoot)
  +                   ?MODULE:loop(Req, {AppRoot, Plugins})
              end,
       case mochiweb_http:start_link([{loop, Loop} | Options1]) of
           {ok, Pid} -> {ok, Pid};
  
positive.code:                          ["sampleBuckets"] -> {auth_ro, fun handle_sample_buckets/1};
                           ["_metakv" | _] ->
                               {auth, fun menelaus_metakv:handle_get/2, [Path]};
                           _ ->
                               {done, menelaus_util:serve_file(Req, Path, AppRoot,
                                                               [{"Cache-Control", "max-age=10"}])}
                       end;
                   'POST' ->
                       case PathTokens of
  
negative.code:                          ["couchBase" | _] -> {auth, fun capi_http_proxy:handle_request/1};
                           ["_metakv" | _] ->
                               {auth, fun menelaus_metakv:handle_delete/2, [Path]};
                           [RestPrefix | _] ->
                               case menelaus_pluggable_ui:is_plugin(RestPrefix, Plugins) of
                                   true ->
                                       {auth,
                                        fun (PReq) ->
                                                menelaus_pluggable_ui:proxy_req(
                                                  RestPrefix, drop_rest_prefix(Path),
                                                  Plugins, PReq)
                                        end};
                                   false ->
                                       ?MENELAUS_WEB_LOG(0002, "Invalid delete received: ~p as ~p", [Req, PathTokens]),
                                       {done, reply_text(Req, "Method Not Allowed", 405)}
                               end
                       end;
                   'PUT' = Method ->
                       case PathTokens of
  