Stopped using functions unavailable on ios