Injector modified to classes (Sharing part)