Cut out redundant imports.