@Override
    public PeerReference replace(String failedPath, RepairIssue[] issues) {
        Host[] failedHosts = new Host[issues.length];
        for (int i = 0; i < issues.length; i++) {
            failedHosts[i] = Deserializer.deserializeHost(issues[i].failedPeer);
        }
        Host localhost = delegate_.replace(failedPath, failedHosts);
        return Serializer.serializeHost(localhost);
    }