Refactor renderer methods into a single renderer