Remove parentheses and comparisons with undefined.