Get rid of warnings + selectively build formats.