Add documentation for polygon and polyline