Creating collapsible nodes.