Line constructor improvements