Removed duplicate messages from diagnosticMessages.json.
Removed unused diagnostics.