Core/Misc: Get rid of some warnings.