Refactoring localization messages.
Refined diagnoses statistics functionality.