Add replace options for exceptions