Update some implementation according to the Polygon2D updates.