code: function wrapObject(object, methods) {
        if (!(methods instanceof Array)) methods = Array.prototype.slice.call(arguments, 1);
        methods.forEach(function (method) {
          object[method] = wrap(object[method]);
        });
      }
docs: Wraps object.
  
  @param {Object} object
  @param {...String|String[]=} methods