ChildFunction constructor fully updated.