code: function(type, args) {
          var debug = this.options.debug || Toolkit.debug;
  
          if (debug) {
              console.log(this.name + '#' + this.uid, new Date().getMilliseconds(), type, args || []);
  
              if (debug === 'verbose') {
                  console.dir(this);
              }
          }
  
          var hooks = this.__hooks[type];
  
          if (hooks) {
              $.each(hooks, function(i, hook) {
                  hook.apply(this, args || []);
              }.bind(this));
          }
      }
docs: Trigger all hooks defined by type.
  
  @param {String} type
  @param {Array} [args]