Added main_leaf_node_t struct.