Modify ~Value() to make its behavior more RAII