Updated to 7.0 deployment target & refactored deprecated methods.