Implementing the new QueryBuilder.