Port of some Python iOS specific modules to PC.