Implements deleting of devices