Add initChain hook so repos can do async setup