[MOD] Cleaned up `VarScope` and `FuncItem`.