Uograde to Wrapper 1.7 and fixed deprecation warnings.