Add function typedef for resolving the arrfunc destination type
Rename instantiate_func to instantiate in the arrfunc structure