Added new OO style class creation with superclass.