Insert the trait/impl nodes into the node list.