Implement show command and Heap.toString.