Added the forgotten ErrorEvent import.