Add suport for ocr, hocr for pages