Make the rendering modular