Update to Line object (syntax change).