Removed magic strings and referenced classes from the renderer.