Define TNode struct.