Convert device endpoints to use Cell, device branches use Rc