Make function signature detection more robust when generating template langauge help for the User Manual.