Add Line class.