added class attribute.