Converted old style classes to new style classes.