Ok, I see why you need the cast above, but still not sure why the change.