Adjusted all unextended classes to extend object as new-type classes.