added support for including multiple children in one dom element.