Fixes syntax errors.