Support iOS 7.

Add some new methods. Some values are DEPRECATED.