Ensure new-style class for Python 2.x