Added isSubgroup. Added toList to DomArray.