Remove unused RAII vars.