New style classes

I noticed you were still using old-style classes. I fixed that for all classes found by `git grep '^class [^(]*$'`.