Corrected compiler warnings.