More correct signature for function childCont.