Integrate function types into typeof()