Move the rendering of line and body fragments into a partial