Added support for some heap objects as map keys, including strings.