Remove parentheses and make more Ruby standard