Inject API info as dependency.