VarRef constructor definition