use new-style python classes