Mark cpp.Funciton class as no_simplification