Adding a line class.