(haven't looked into why the `cached_open_doc` call was failing)