Distinguish between setQueries and addQueries.