Added missing errors header to the event dispatcher.