code: function () {
      // Allow using a function or an object
      var events = _.result(this, 'dispatcherEvents');
  
      if (_.isUndefined(events) || _.isEmpty(events)) {
        // Bug out early if no dispatcherEvents
        return;
      }
  
      var registrations = {};
      _.each(events, function (funcOrName, actionType) {
        // Quick sanity check for whether there is a problem with the function/name passed
        if (!(_.isFunction(funcOrName) || _.isFunction(this[funcOrName]))) {
          console.warn('dispatcherEvent: "' + funcOrName + '" is not a function');
          return;
        }
  
        if (_.isFunction(funcOrName)) {
          registrations[actionType] = funcOrName;
        } else {
          registrations[actionType] = this[funcOrName];
        }
  
      }.bind(this));
  
      this.dispatcherToken = dispatcher.register(registrations, this);
    }
docs: Registers the dispatcherEvents hash