Added support for multiline events