Basic iOS 5 compatibility.