Add Polygon class.