Adaption to the new libinjection API