Fix syntax errors, replace tabs with spaces.