Add Eflag_done, to clean up Eflag state.