Fixing a couple of warnings.