Continue to implement package template and move Array[TreeNode] to class TagSequence