You might want to inline confirmTarget and confirmMessage since they are named parameters anyway.