Allow injection of an external query builder