Workaround for bug 755568. A lot of time has passed since I've seen you old friend...