Implemented a type-specific performance enhancement on map-vals.