Start porting to python 3.