Use new-style classes.
Merge pull request #3 from mattspitz/newstyle_classes

Use new-style classes