Backward compatibility with iOS 5