Move to new-style python objects.