Change a few warnings to debug and the inverse.