Code clean-ups in the http renderer.