Removing printing functions