public function appendTo(Element $parent) { foreach ($this as $item) { $parent->append($item); } return $parent; }