Python2.6 support