v2

RegisterInstance and RegisterFactory can be used without RegisterType