Replaced "edit" with "rewrite" for clarity.

Resolves issue #39.