API change: document::toc_entry => ref_entry