docs: function (cb) {
                  var scope = cb.scope, callback;
                  scope = scope ? scope : this;
                  if (!cb.fn) {
                      callback = cb;
                  } else {
                      callback = cb.fn;
                  }
  
                  if (typeof(callback) == 'string') {
                      callback = scope[callback];
                  }
                  return {
                      fn : callback,
                      scope : scope,
                      args : cb.args,
                      resIndex : cb.resIndex,
                      apply : cb.apply
                  };
              }