Adapt pedis for the new libpe.