Changed Unit.getChildren() to type UnitList