Code refactoring.
Support for the line element.