Remove redundant imported packages.