Changing deployment target to 6.0 and fixing deprecation warnings.