Adapt to public API changes (https://github.com/ColinDuquesnoy/pcef-core/issues/53)