Add code generation to ChainedCallId.