When i change it to "setService", i get an error. This is because the ServiceManager returns a Closure object in this case. I think i have to use setFactory.