Fixed a few random warnings.