Use data.classes to store classes applied to widget.