Update API doc for the lines module