Changed more parts of the mod to use the new MiscUtils