Added generation for array types.