That was the first thought I had when I started looking at this code. It's not just the registry calls for which this matters.