add class for tables with composite keys