Wrap class with array().

#6374