Allow coordinate arrays and functions returning coordinate arrays as parents for polygons