Add priority queue.
Merge remote-tracking branch 'origin/master'