Add setChildren method