This doesn't compile. It's also very out-of-date (over a year old), and has been broken by various library upgrades as well.