Fixing some warnings.