Made plugin API tests pass.