Dependency injection in lieu of Factories with parameters