fix class newline issue
function definitions parens are now optional