Add pretty printing functions for FlatFunction.