Handle reset.