BK-943 Separate toc functionality and export functions to the public