libaurum: Introduce new getParent API