Rename maybeWrapParams to printFunctionParams and tweak style.