Added support for slicing nodes.