I don't think that's necessary.  I doubt the $x is doing anything by reference (it's not global, nor does it appear to be passed anywhere by reference), but frankly, we're late enough in the cycle that I just don't want to change it.  Let's leave it for now.