implement plugin API changes