Ported the funcdef type.
Ported the function type.