Deprecation decorator