IOS support + marshalling