Using yaidom HasParent trait