Restore setHocr and remove setRenderedFormat