Thanks too http://stackoverflow.com/questions/1848154/dependency-injection-by-type-using-generics-how-does-it-work