Use simpler form of dependency injection