Fixed syntax errors (thanks @jhoblitt for the notice)