Added specifications to QueryProcessor