Better python 3.x support.