Renamed functions in renderer.js.