They don't set metadata, but remove it, hence my comment

>  this doesn't deregister hooks at the moment (that would require more changes, do we want to support that?