Added support for custom events
Added support kdp.evaluate with nested expressions