Adding warning on event handling as suggested by Jeremy.