Fixing Python 2.6 error.