Support updating decorators correctly when plugins start and stop.