Exposed more data to class-tableofcontents for the new template;  added named arguments to the =api command