protect class injector