Fixed a bunch of syntax errors.
Fixed typo.
Changed class name (which was causing 500 error earlier.