Support for python version 2.6 or earlier.