Update documentation with #replace method.