Corrected compilation warnings.