Shouldn't this be `clearOnFlush` ?