Converted all classes over to new-style classes.