Fix Auto-reg. of dynamic factories to DI