Added support for multiple children