Yeah, I was saying that it's not necessary to auto-detect them because it's not any trouble to call `_register_upgrade_hook` ourselves. The number of upgrade hooks we have probably won't ever exceed the number of lines this function has, basically. :)

It's a neat feature, but it's also the reason we have to nest all the upgrade hook functions below (unless we were to use `globals` instead of `locals`).

But since the previous code also used nested functions, it's at least not any worse.