Support for onAlarm, onMessage, compensation and fault handlers