Document pretty printing functions