Fix (or suppress) most warnings