docs: function $wrapped( ...args ) {
        const wrappedArgs = args.slice();
  
        args.forEach( ( arg, i ) => {
          if ( typeof arg === 'function' ) {
            wrappedArgs[i] = wrapCallback( args[i], origin );
          }
        } );
  
        return method.call( this, ...wrappedArgs );
      }