Added line ends and minor changes.