Adds supresswarnings for serial