Add classes to metadata tables