Update documentation to reflect changes in line and polygon.