Extend an object, by extending it's class attribute. Note this returns the extended object.
extend (obj, cl)
obj
cl