Added more appropriate message and removed the cout message from destructor.