Added iOS 6 support.