Abandoned outdated methods.

Because it may crash in iOS 7.