Wrap class with array().
Merge pull request #6376 from openscholar/6374-3.14

Wrap class with array().