Some nasty hacks