perf(Injectors): Make the `types` getter faster

No need to test if a set `contains` before adding (implicit)