Added configuration for max text length of function (summary).