Python 3 fix attempt.