Fix Deprecation.