Tweaks to imports is qm module