Adds missing paranthesis and semicolon.