Actually, the query service is not used outside of this class. This should be private.