Update some implementation according to Polygon2D updates.