Add an index for the table of syntax classes.