Added more db utility methods