Implemented tearDown.