Added priority for queue.