Migrate xor expressions