Using Set() for the empty set instead of Set([]).
Using let instead of var where possible.