fixed addTableAttribute for class attribute

Moved the setting for the default table class to rex_list(), because the definition in get() would override settings by addTableAttribute.