Remove parentheses where possible.

Use def with parentheses when there are parameters.