Made setQuery a private Request method.