Touch up flags.
Finalize in reverse order.