Fixes few warnings.