Adding deprecations