Added deconstructor.