Pass VarRef to ScopeAddVariableHash
Pass VarRef to ScopeDeleteScalar
Use ScopeNewSpecialScalar for special scalar variables