Replaced consecutive ->addLine()->prependLine() with wrapLines()