Fixes some syntax errors.