Adds support for generated ToC and cover page