Fixed a few small warnings.