Fixed adding of names for pipeline function, cannot assume that these functions actually have names