Rename and add whitespace

Use def with parentheses when there are parameters.