Added events to setChildren