Changes classes to new-style classes