iOS 8 support + better codes.