Proper warning disabling