Python 3 compatibility via 2to3.