Prune unused imports.