Windows code cleanup.