Replace a couple calls to inject with more readble constructs.