Finished DB wrapper.