Implement GetParent.