Removed some unnecessary imports from Map class.