Works for public databases for now. Private to come.