Added HMM reset.