Slightly different horrible hack.