Fixed various syntax errors.