Removed a few warnings.