More line-related functions.