Corrected all warnings.