code: function (definition) {
      if (!_.isObject(definition)) {
        throw new Error('Please pass in an object');
      }
      this.definition = _.defaults(definition, this.definition);
      return this;
    }
docs: Inject definition for event structure.
  @param   {Object} definition the definition to be injected