add support for cd.remove