do you want to log a debug level deprecation warning here?