Add properties to refer to children.

I don't know if this is the right way.