Hmmmmmm....   I'm not sure setRescorer(Rescorer...) works because you also need to be able to set the window.  I tried to come up with something that is compatible with what we have now but I'm not in love with it.