Make the second arg to replace optional.

Defaults to empty string. Refs #77.