anchor.diff:          
           if (defaultEndpoints.isNotEmpty) {
             var de = defaultEndpoints.first;
  -          var pc = de.mirror.parameters.where((it) => !it.isNamed && !it.isOptional).length;
  -          if (pc == 1) {
  -            router.defaultRoute(de.function); 
  -          } else if (pc == 2) {
  +
  +          if (de.function is _SingleParameterFunction) {
  +            router.defaultRoute((req) {
  +              de.function(req);
  +            });
  +          } else if (de.function is _TwoParameterFunction) {
               router.defaultRoute((req) {
                 de.function(req, req.response);
               });
             } else {
  -            throw new Exception("Default HTTP Endpoint has an invalid number of parameters: ${pc}");
  +            throw new Exception("Default HTTP Endpoint has an invalid number of parameters");
             }
           }
         });
  
positive.code:  * Action that runs when the plugin is ready.
   */
  typedef void ReadyAction();
  
  /**
   * PolymorphicBot IRC-specific interface.
  
negative.code:       createHttpRouter().then((router) {
          for (var e in httpEndpoints) {
            var path = e.metadata.path;
            
            if (e.function is _SingleParameterFunction) {
              router.addRoute(path, (req) {
                e.function(req);
              });
            } else if (e.function is _TwoParameterFunction) {
              router.addRoute(path, (req) {
                e.function(req, req.response);
              });
            } else {
              throw new Exception("HTTP Endpoint has an invalid number of parameters");
            }
          }
          
  