Implement eventhandler that can be used from scripts.
Implement eventhandler that can be used from scripts.