Minor changes to and added documentation to QueryParser