Update the spec to reflect the var -> ref change

What it says on the tin. I believe I've reworded all the references to var functions that are in the spec.