Use Time for priority queue.