Enhanced the FailureEvent class.