Added the ability to provided the checked state of the children.