Use correct imports for Maps and Lists.