Fix warnings and ignore a couple warnings.