Deprecate add/remove_class.

From the widget roadmap: https://trello.com/b/5Xaj8Z7j/widgets