Refactor: unify hash dereference style to $var->{key}.