Needed in #104831, not a big deal to let this return non-const (and not worth polluting the PR with such minor changes).