Fixed some of the warnings.