set_class function

Modify object class attributes