Working with event handlers.