Safe way to temporarily override options()
withOptions(optionsToChange, fun)
optionsToChange
Which options.
fun
Function to run with new options.
Result of fun.