Add support for arrays of Poly* and MultiPoly*. Fix #11