Added stuff for setting an explanation if necessary.