Fixing compiler warnings.