         @save id, attributes, callback
 
     destroy: (id, callback) ->
-        @db.get id, (err, doc) =>
-            if err
-                callback err
-            else
-                @db.remove doc, callback
+        PouchdbBackedModel.db.get id, (err, doc) =>
+            if err
+                callback err
+            else
+                PouchdbBackedModel.db.remove doc, callback
 
 # @todo implement me using pouchdb-quick-search
 pouchdbIndexAdapter =

        else
            attributes._id = uuid.v4().split('-').join('')

        @db[func] attributes, (err, response) ->
            if err
                callback err
            else if not response.ok

            else
                attributes._id = attributes.id
                attributes._rev = doc._rev
                PouchdbBackedModel.db.put attributes, (err, response) ->
                    if err
                        callback err
                    if not response.ok
