add class attribute support