I added a `replace` method to the export.