Get rid of various warnings