Fixed lint errors.
Ficed compiler warnings.