Clean imported modules