Support batch queries