Heap support for user-defined keys.
Doc update.