Fixed the warnings.