This functions are for iPhone developers.