Remove outdated function call so it compiles on iOS.