 		return res.send {error: err} if err
 		res.send {ok: numRemoved}
 
-# POST :db/:collection handler
+# POST db/collection handler
 add_doc = (req, res) ->
 	db = load_db req
 	doc = req.body

		json = if doc_handler then doc_handler(doc) else serialize_doc(doc)
		res.send json

# DELETE :db/:collection/:id handler
del_doc = (req, res) ->
	db = load_db req
	id = req.params.id

			return res.send {error: err} if err
			res.send serialize_doc(doc)

# GET db/collection/id/metadata
get_meta = (req, res) ->
	get_doc req, res, (doc) -> doc.$metadata

