Renderer example refactoring.