Allow batch_size to choose HTTP methods.