Not using the global functions is unfortunately so widespread that I don't think we can deprecate them at this stage. Keeping a *reference* to the global adaptation manager variable instead, is pure evil, since it means it cannot be reset.

If we want to make an improvement, we should change the `adapt` argument in `Instance` and friends to take an AdaptationManager instance instead of `"yes"`/`"no"`, then remove the global adaptation manager.