Merge windows code.