Correct wrong example of batch build.

I guess there was some API change and the doc didn't catch up.