                 doc.docType is 'Folder' or doc.docType is 'File'
             live: true
             since: config.getChangeSeq()
-        replication.replicator = pouch.db.replicate.to(url, opts)
+        replication.replicatorTo = pouch.db.replicate.to(url, opts)
             .on 'change', replication.displayChange
             .on 'uptodate', replication.displayChange
             .on 'error', replication.onError

                doc.docType is 'Folder' or doc.docType is 'File'
            live: false
            since: replication.startSeq
        replication.replicator = pouch.db.replicate.from(url, opts)
            .on 'change', replication.displayChange
            .on 'complete', replication.onRepComplete
            .on 'error', replication.onError

                doc.docType is 'Folder' or doc.docType is 'File'
            live: true
            since: config.getSeq()
        replication.replicatorFrom = pouch.db.replicate.from(url, opts)
            .on 'change', replication.displayChange
            .on 'uptodate', replication.onSyncUpdate
            .on 'error', replication.onError
