Remove global variable for lines.