Added a line class for utility.