Removed unnecessary imports from Iterator