Scale back any module imports in headers for compatibility.