docs: function(params, callback) {
  			var self = this;
  			var collections = [];
  		  // Get the collections for this dbName
  	  	this.db.listCollections().toArray(function(err, colls) {
  			  // Loop through the collections
  	  		for (var n = 0; n < colls.length; n++) {
  
  	  			var options = colls[n].options || {};
  	  			// Remove the old name.
  	  			delete options.create;
  		  		// Remove the dbName from the collection name.
  	  			options.name = parseName(colls[n].name);
  	  			// Set the name as the _id.
  	  			options._id = options.name;
  
  	  			// Add it to the list.
  	  	  	collections.push(options);
  	  	  }
  
  		  	// Async function to add stats to each collection.
  		  	var addStats = function(coll, callback){
  		  		// Switch databases
  		  		var collection = self.db.collection(coll.name);
  		  		// Get the stats. null if empty.
  		  		collection.stats(function(err, stats){
  		  			// Add the stats to the corresponding database.
  		  			coll.stats = stats;
  			  		callback(err, coll);
  		  		});
  		  	};
  
  		  	async.each(collections, addStats, function(err){
  	  	    if (err) {
  	  	    	callback({error:err.errmsg});
  	  	    } else {
  	  	    	// Sort the collections
  	  	    	collections.sort(function (a, b) {
  	  	    		return (a.name > b.name) ? 1 : -1;
  	  	    	});
  	  	    	// Send the collections
  					  return callback(null, collections);
  	  	    }
  		  	});
  	  	});
  		}