fixing warnings and ignoring generated code.