Added deprecation errors in the deprecated registry methods