fix(injector): types getter return a Set of Type

@markovuksanovic I think I changed this but it was actually ok. Sorry for that.