         @Tag = @opts.Tag or Tag # inherit (maybe) extended tag class
         @buffer = [] # after this tag all children emitted data
         @pending = [] # no open child tag
+        @_delayed = null # delayed method calls (null means it's off)
         @closed = false
         @writable = true
         @content = ""

        this

    children: (children, {direct} = {}) =>
        if typeof children is 'function'
            if direct
                children.call this
            else
                process.nextTick =>
                    children.call this
        else if children isnt undefined
            @text children
        this

    text: (content, opts = {}) =>

    up: () -> null # this node has no parent

    end: () =>
        if @_delayed?
            @_delayed.push @end
            return this
        if not @closed
            if @headers
                data = "#{indent this}#{@headers}/>"
