Allow passing array to defGroup