Fixed several syntax errors.