Factory usage for instantiating the events.