Fixing a few warnings.