Deprecation errors

Deprecation errors