Signature for heaps (priority queues)