Rebuild the line numbers.

We shouldn't have to do this once #51 is completed.