Miscellaneous minor changes. Fixing syntax errors.