Make serial output optional.