Enable Python 3 compatibility using 2to3.