Completed QueryProcessor.