Fix some warnings.

There's already a comment below.