support class attribute