Added support for child events.