Targets iOS 7 SDK and removes deprecations