Add named function to pass to the module call.