Fixed a few warnings.