Support for mouse events.