Add event dispatcher.