Apply the packer class to the nodes.