Fixed a couple warnings.