Updated the Sketch sample and moved the VertBatch functionality to the Sketch class itself.