Remove old index.
Merge branch `rewrite` into `master`.