Add support for Python 2.X.