Working with recursive elements.