Made example in README.md compile, Event -> event.