Add custom events and functionality to an mono application.