Making the compilation more strict.
Fixing some static analyzer errors.