Fixed class inheritance to conform to new-style-class instance