Remove a ton of cruft and silence all warnings.