Unregister things which depend on libraries we're upgrading