Modification for parsing the function name from the function path.