The classic inject class hack