Implement a MakeFunction3 to handle setting annotations for both compiled and interpreted cases.