Revert "Add support for page number and image block."

This reverts commit c6443d9770b519a32a39e98272f147674469fa0a.