docs: function setTarget(target) {
          var targetMethods = {};
          for (var name in methods) {
              targetMethods[name] = wrapMethod(target, methods[name]);
          }
          return targetMethods;
      }