def METHOD_NAME(cls, x):
    """Return a new StructArray class of length *x* and using this struct
    as the array item type.
    """
    return type(cls.__name__+'[%d]' % x, (StructArray,),
                {'item_struct': cls, 'array_size': x})