Added option for skipping generation of warnings.