comply with deprecations