Handle supertype injections properly