Fixed a mistake and simplified the example.
Extra event interface implementation example