Removes unneeded imports