First draft of batch rendering.