Add common classes to table element