Rough refactor of BatchRender to use renderer plugins.