Corrected which components can have methods injected.