added support for EventVoid and EventWrite