Getting ready for Python3 support.