Add a builder for queries