Expose db in addition to client.