Add `var` to local variables