See Object Trees and Object Ownership.