Fix some warnnings.