Remove dead code from dbhelpers