This is intended to separate the library injection code so that both the inject helper process and the plugin itself can inject directly if they wish.