Support for 2.6 and earlier versions of python.