Add classes to the toc macro output