Remove unwanted imports.