Added pretty-printing of hFunction.