Added support for event attributes.