Potential performance improvements for EventUtil.