Handle smartly, clean up variables on uninstall.