Initial mods for python3.