Contents:
Widget
Adds a class to the top level element of the widget.
Doesn’t add the class if it already exists.