Missing SplPriorityQueue header, fixing internal calls