Refactor Poppler to use _BaseFinalizer