Add memory reset.