Developed the destroy method.