Documented `replace` function (initially).
Merge pull request #115 from seven-phases-max/master

Documented `replace` function.