I don't understand what you mean, sorry. Can you provide examples? If that's being modified, we should check why since that shouldn't be the case. the self.extensions set here shouldn't be modified afterwards, or at least not without taking care of what it was before.