Rudimentary support for TOC extension, currently doesn't work with
the single note previews.