Updated for adding a child component

DOC-1493