\@primitives{index}
\newsavebox{\@indexbox}
\newcommand{\index}[2][default]
{\if@refs\@saveclosed%
\sbox{\@indexbox}{\@indexwrite[#1]{#2}{\@currentlabel}}% side effect
\@locname{\usebox{\@indexbox}}{}%
\@restoreclosed\fi}
\newcommand{\index*}[2][default]
{\if@refs\sbox{\@indexbox}{\@indexwrite[#1]{#2}{\@currentlabel}}% side effect
\@locname{\usebox{\@indexbox}}{#2}\fi}
\newcommand{\printindex}[1][default]{\@printindex[#1]}
\newcommand{\makeindex}{\newindex{default}{idx}{ind}{Index}}
\newcommand{\@seename}{see}
\newcommand{\see}[2]{\@seename\ \textit{#1}}
\newcommand{\@vwritefile}[2]{}

