Added a Polygon entity class.