Its a shame you can't put a typedef in a class.