Use __str__ for Python3 with Python2 compatibility decorator.