Add Polygon centroid() method.