Internally, automatic savepoints are used to: