Fixed lint errors.

* Fixed all lint errors, mostly small syntax changes.