Adapt editor to cdmlib API changes