Added a first event handling approach.