Re-writing my local rollback, part 1.