Bunch of hacking on Refractor.