cleanup
expose db.methods on client