Add parent() and child(i) methods