Fixed generation of injected constructor parameters