Fix a class declaration that is a syntax error in Python 2.4