monkey patch pdf::reader