Renamed map to map_ to work around a g++ oddity.