Factored out injections and configurations.