Added example gen_event.