Add finer controls to transactions.
Switch the direction of import for full imports.
Wrap changeset insertion in a transaction.