Cleaned up all the warnings.