Adds back the name of the created function when using ...rest)