Fixed the compile errors with the new line class