add namespace methods node_type and next