Added summarizeErrors.