Python3.x fix.