Fixes 2 warnings.