Hacking in a Jav 6 compatible tweak.