Added support for polyline, polygon, and dynamicObjects