use `_log.deprecated(..., "2.0")` here too instead of `_log.debug`?