Implemented reset.