Fix compilation: polymorphic to be injected is not so polymorphic now