Refactoring all warnings as errors.