                 doc.docType is 'Folder' or doc.docType is 'File'
             live: false
             since: replication.startSeq
-        replication.replicator = pouch.db.replicate.from(url, opts)
+        replication.replicatorFrom = 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.replicator = pouch.db.replicate.from(url, opts)
            .on 'change', replication.displayChange
            .on 'uptodate', replication.onSyncUpdate
            .on 'error', replication.onError

    # Stop running replications and stop
    cancelReplication: ->
        clearTimeout replication.timeout
        replication.replicatorFrom.cancel() if replication.replicatorFrom?
        replication.replicatorTo.cancel() if replication.replicatorTo?
        replication.timeout = null
        replication.replicatorFrom = null
        replication.replicatorTo = null
