Use new style classes. Fix typo.