Add a class.