             @db.setMaxListeners 100
             @db.on 'error', (err) -> log.warn err
             @addAllViews callback
+        return
 
 
     ### Mini ODM ###

                callback null, 0
            else
                callback err, doc?.seq

    # Set last remote replication sequence
    # It is saved in PouchDB as a local document

            @db.put doc, (err) ->
                log.info "Design document created: #{name}" unless err
                callback err
        return

    # Remove a design document for a given docType
    removeDesignDoc: (docType, callback) =>
