Applied Matt's suggestion on rank_class attribute. Commented-out parent_id and labeled as FIXME