codegen: start enabling back support for subtypes of Callable to be able to invoke them #1126