Tease apart some of the undeploy internals.