Remove most warnings